;set user name
(setq user-full-name "Kai.Zhang")
(setq user-mail-address "kai.zhang@accelops.net")

;;(setenv "HOME" "G:/playground")
;;(setenv "PATH" "G:/playground")
;;(setq default-directory "~/")

(set-language-environment 'UTF-8) 

(set-locale-environment "UTF-8") 

(add-to-list 'load-path "/home/admin/my_emacs/emacs.extension")

(setq inhibit-splash-screen t)

(setq mouse-yank-at-point t)
;(set-default-font "Comic Sans MS-10")
(set-default-font "Dejavu Sans Mono-12")  
;;(set-default-font "DejaVu LGC Sans Mono-11")
;(create-fontset-from-fontset-spec
; "-*-dejavu sans mono-medium-r-normal-*-16-*-*-*-*-*-fontset-dejavu")
;(set-default-font "fontset-dejavu")
;(setq default-frame-alist
;      (append
;       '((font . "fontset-dejavu")) default-frame-alist))

(global-linum-mode t)
(set-scroll-bar-mode 'right)

(tool-bar-mode -1)
(menu-bar-mode -1)

(setq x-select-enable-clipboard t)
(blink-cursor-mode -1)  

(setq backup-inhibited t);;?????
(setq auto-save-default nil);?????#filename# ?????

(show-paren-mode t)
(setq show-paren-style 'parentheses)

(transient-mark-mode t)

;replace 'yes' with 'y', 'no' with 'n'
(fset 'yes-or-no-p 'y-or-n-p)

;;dispaly time
(display-time-mode t)

;
(setq-default kill-whole-line t)

;stay at end
(setq track-eol t)
(setq scroll-step 1
      scroll-margin 3
      scroll-conservatively 10000)
